package service;

import user.Administrator;
import user.Student;
import user.Teacher;
import view.StuManageView;

import java.util.Scanner;

public class SignUp {
//    Scanner scanner = new Scanner(System.in);
//    //Teacher[] thea = new Teacher[100];
//    //Administrator[] Admin = new Administrator[20];
//
//
//    //
//
//
//    //老师注册
//    public void SignUpThea() {
//        //countTh++;
//        System.out.println("----------教师注册----------");
//        System.out.println("请填写下面的注册信息");
//        System.out.println("姓名：");
//        String theaName = scanner.next();
//        thea[countTh].setName(theaName);
//
//        System.out.println("年龄：");
//        int theaAge = scanner.nextInt();
//        thea[countTh].setAge(theaAge);
//
//        System.out.println("学工号：");
//        String theaId = scanner.next();
//        thea[countTh].setId(theaId);
//
//        System.out.println("密码：");
//        String theaPassword = scanner.next();
//        thea[countTh].setPassword(theaPassword);
//
//        System.out.println("手机号：");
//        String theaPhoneNum = scanner.next();
//        thea[countTh].setPhoneNum(theaPhoneNum);
//
//        System.out.println("恭喜你，注册成功");
//        return;
//    }

    //管理员注册
//    public void SignUpAdmin() {
//        countAdmin++;
//        System.out.println("---------管理员注册--------");
//        System.out.println("请填写下面的注册信息");
//        System.out.println("姓名：");
//        String AdminName = scanner.next();
//        Admin[countTh].setName(AdminName);
//
//        System.out.println("密码：");
//        String AdminPassword = scanner.next();
//        Admin[countTh].setPassword(AdminPassword);
//
//        System.out.println("恭喜你，注册成功");
//        return;
//    }
}
